package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class Course extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /** 课程id ***/
    private int courseId;
    /** 课程名称 ***/
    private String courseName;
    /** 课程老师 ***/
    private String teacherName;
    /** 课程状态 ***/
    private String courseStatus;
    /** 课程分类 ***/
    private String courseCategory;
    /** 课程链接 ***/
    private String courseLink;
    /** 课程描述 ***/
    private String courseDesc;
    /** 是否删除 0 正常 1 删除*/
    private String delFlag;

    public int getCourseId() {
        return courseId;
    }
    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }
    public String getCourseName() {
        return courseName;
    }
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    public String getCourseCategory() {
        return courseCategory;
    }
    public void setCourseCategory(String courseCategory) {
        this.courseCategory = courseCategory;
    }
    public String getCourseStatus() {
        return courseStatus;
    }
    public void setCourseStatus(String courseStatus) {
        this.courseStatus = courseStatus;
    }
    public String getTeacherName() {
        return teacherName;
    }
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public String getCourseLink() {
        return courseLink;
    }
    public void setCourseLink(String courseLink) {
        this.courseLink = courseLink;
    }
    public String getCourseDesc() {
        return courseDesc;
    }
    public void setCourseDesc(String courseDesc) {
        this.courseDesc = courseDesc;
    }
    public String getDelFlag() {
        return delFlag;
    }
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("courseId", getCourseId())
                .append("courseName", getCourseName())
                .append("teacherName", getTeacherName())
                .append("courseStatus", getCourseStatus())
                .append("courseCategory", getCourseCategory())
                .append("courseLink", getCourseLink())
                .append("courseDesc", getCourseDesc())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .toString();
    }
}